Skip to content

Conversation

jumbatm
Copy link
Contributor

@jumbatm jumbatm commented Apr 2, 2020

Make sure we still emit if a lint if the generic argument comes first. See #70566 (comment).

r? @RalfJung

jumbatm added 2 commits April 2, 2020 22:45
Make sure we check the case where the generic operand comes first, in
case any future changes make this ordering matter.
@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 2, 2020
@jumbatm jumbatm changed the title Extend #69020 test to include reversed order. Extend #69020 test to include reversed operand order. Apr 2, 2020
Also, fix the goofy reversed names with something clearer.
@RalfJung
Copy link
Member

RalfJung commented Apr 3, 2020

This looks great, thanks a lot!
@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Apr 3, 2020

📌 Commit 0399d14 has been approved by RalfJung

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 3, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 3, 2020
Rollup of 6 pull requests

Successful merges:

 - rust-lang#70696 (Extend rust-lang#69020 test to include reversed operand order.)
 - rust-lang#70706 (Minor cleanup in rustdoc --check-theme)
 - rust-lang#70725 (Avoid `.unwrap()`s on `.span_to_snippet(...)`s)
 - rust-lang#70728 (Minor doc improvements on `AllocRef`)
 - rust-lang#70730 (Fix link in task::Wake docs)
 - rust-lang#70731 (Minor follow-up after renaming librustc(_middle))

Failed merges:

r? @ghost
@bors bors merged commit ea28134 into rust-lang:master Apr 3, 2020
@jumbatm jumbatm deleted the extend-issue-69020-test branch April 3, 2020 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants